﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace X23.Extensions.AttributeExtensions
{
    /// <summary>
    /// 工作单元
    /// </summary>
    [AttributeUsage(AttributeTargets.Method)]
    public class UnitOfWorkAttribute : Attribute
    {
        /// <summary>
        /// 禁用事务 默认false不禁用
        /// </summary>
        public bool IsDisabled { get; set; }
    }
}
